package com.lattice.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lattice.entity.dto.LatticeQueryDTO;
import com.lattice.entity.po.LatticeResultPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2022/11/20
 **/
@Mapper
public interface LatticeNoteManagerDao extends BaseMapper<LatticeResultPO> {
    List<LatticeResultPO> getAllLatticeNoteByPage(@Param("dto") LatticeQueryDTO dto);

    Boolean updateLatticeNoteInfo(@Param("po") LatticeResultPO latticeResultPO);

    Boolean deleteLatticeNoteInfo(@Param("latticeIds") List<Long> latticeIds);
}
